package com.pilipili.zeus.eduService.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.pilipili.zeus.eduService.entity.EduCourse;
import com.pilipili.zeus.eduService.entity.vo.CourseFront;
import com.pilipili.zeus.eduService.entity.vo.Publish;
import com.pilipili.zeus.eduService.entity.vo.SortCourse;

/**
 * 番剧 Mapper 接口
 *
 * @author Unlimited_Blade_Works
 * @since 2021-05-26
 */
public interface EduCourseMapper extends BaseMapper<EduCourse> {

    Publish getPublishCourseInfo(String courseId);

    CourseFront getCourseInfo(String courseId);

    IPage<SortCourse> getCourseInfoBySortId(IPage<SortCourse> page, String sortId);

}
